'''
author: leiwenhui
version：v1
title: 随机⽣成100个产品ID，ID格式如下
'''

import random
import string


def get_product_id(num):
    src_lowercase = string.ascii_lowercase
    num_int = str(num).zfill(6)
    letter_low = random.sample(src_lowercase, 10)
    result = num_int + '.' + ''.join(letter_low)
    return result


if __name__ == '__main__':
    for i in range(10):
        print(get_product_id(i))

# 完成的不错
